﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Coldairarrow.Util;

namespace tcm.utils
{
    public class IdUtils
    {
        public static long getId()
        {
            long workId = 1;
            new IdHelperBootstrapper().SetWorkderId(workId).Boot();
            return IdHelper.GetLongId();
        }

        public static string getStringId()
        {
            long workId = 1;
            new IdHelperBootstrapper().SetWorkderId(workId).Boot();
            return IdHelper.GetId();
        }

        public static long getId(long workId)
        {
            new IdHelperBootstrapper().SetWorkderId(workId).Boot();
            return IdHelper.GetLongId();
        }
    }
}
